\hypertarget{namespacemodel_1_1json_object_encoder}{
\section{Package model.jsonObjectEncoder}
\label{namespacemodel_1_1json_object_encoder}\index{model.jsonObjectEncoder@{model.jsonObjectEncoder}}
}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classmodel_1_1json_object_encoder_1_1a}{a}
\item 
class \hyperlink{classmodel_1_1json_object_encoder_1_1_my_decoder}{MyDecoder}
\item 
class \hyperlink{classmodel_1_1json_object_encoder_1_1_my_encoder}{MyEncoder}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{namespacemodel_1_1json_object_encoder_ac65770dd902d6a4a85ce2f8f12bd5567}{todict}
\item 
def \hyperlink{namespacemodel_1_1json_object_encoder_a554a2f3070cff48393316505e77884d3}{props}
\item 
def \hyperlink{namespacemodel_1_1json_object_encoder_a930985846eb14ca2d41c8cd2566a6909}{jm}
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespacemodel_1_1json_object_encoder_a92fee686aa594a50c6d709dec4c3fd1c}{json} = simplejson
\item 
tuple \hyperlink{namespacemodel_1_1json_object_encoder_a441623a4f3a58fe4278a598619e7b955}{encoded\_\-object} = \hyperlink{classmodel_1_1json_object_encoder_1_1_my_encoder}{MyEncoder}()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}
Cannot create dynamically in Java (at least easily): generate classes from python schema
serialyze in python by subclassing to_json: include all props
back from json:??? few data (GUI) ==> no real object necessary??
Pattern: config: get an object, modify, send it back; generate a form/template for an object; regenerate without touching modifications??
Created on Jul 20, 2009
@author: ca3jmaupas
\end{DoxyVerb}
 

\subsection{Function Documentation}
\hypertarget{namespacemodel_1_1json_object_encoder_a930985846eb14ca2d41c8cd2566a6909}{
\index{model::jsonObjectEncoder@{model::jsonObjectEncoder}!jm@{jm}}
\index{jm@{jm}!model::jsonObjectEncoder@{model::jsonObjectEncoder}}
\subsubsection[{jm}]{\setlength{\rightskip}{0pt plus 5cm}def model.jsonObjectEncoder.jm ( {\em d})}}
\label{namespacemodel_1_1json_object_encoder_a930985846eb14ca2d41c8cd2566a6909}


Definition at line 89 of file jsonObjectEncoder.py.\hypertarget{namespacemodel_1_1json_object_encoder_a554a2f3070cff48393316505e77884d3}{
\index{model::jsonObjectEncoder@{model::jsonObjectEncoder}!props@{props}}
\index{props@{props}!model::jsonObjectEncoder@{model::jsonObjectEncoder}}
\subsubsection[{props}]{\setlength{\rightskip}{0pt plus 5cm}def model.jsonObjectEncoder.props ( {\em obj})}}
\label{namespacemodel_1_1json_object_encoder_a554a2f3070cff48393316505e77884d3}


Definition at line 62 of file jsonObjectEncoder.py.\hypertarget{namespacemodel_1_1json_object_encoder_ac65770dd902d6a4a85ce2f8f12bd5567}{
\index{model::jsonObjectEncoder@{model::jsonObjectEncoder}!todict@{todict}}
\index{todict@{todict}!model::jsonObjectEncoder@{model::jsonObjectEncoder}}
\subsubsection[{todict}]{\setlength{\rightskip}{0pt plus 5cm}def model.jsonObjectEncoder.todict ( {\em obj}, \/   {\em classkey} = {\ttfamily None})}}
\label{namespacemodel_1_1json_object_encoder_ac65770dd902d6a4a85ce2f8f12bd5567}


Definition at line 23 of file jsonObjectEncoder.py.

\subsection{Variable Documentation}
\hypertarget{namespacemodel_1_1json_object_encoder_a441623a4f3a58fe4278a598619e7b955}{
\index{model::jsonObjectEncoder@{model::jsonObjectEncoder}!encoded\_\-object@{encoded\_\-object}}
\index{encoded\_\-object@{encoded\_\-object}!model::jsonObjectEncoder@{model::jsonObjectEncoder}}
\subsubsection[{encoded\_\-object}]{\setlength{\rightskip}{0pt plus 5cm}tuple {\bf model::jsonObjectEncoder.encoded\_\-object} = {\bf MyEncoder}()}}
\label{namespacemodel_1_1json_object_encoder_a441623a4f3a58fe4278a598619e7b955}


Definition at line 84 of file jsonObjectEncoder.py.\hypertarget{namespacemodel_1_1json_object_encoder_a92fee686aa594a50c6d709dec4c3fd1c}{
\index{model::jsonObjectEncoder@{model::jsonObjectEncoder}!json@{json}}
\index{json@{json}!model::jsonObjectEncoder@{model::jsonObjectEncoder}}
\subsubsection[{json}]{\setlength{\rightskip}{0pt plus 5cm}{\bf model::jsonObjectEncoder.json} = simplejson}}
\label{namespacemodel_1_1json_object_encoder_a92fee686aa594a50c6d709dec4c3fd1c}


Definition at line 10 of file jsonObjectEncoder.py.